glcontext: Do not check for correctness in set_required_version
authorPablo Correa Gómez <ablocorrea@hotmail.com>
Wed, 25 May 2022 13:23:38 +0000 (15:23 +0200)
committerPablo Correa Gómez <ablocorrea@hotmail.com>
Sat, 4 Jun 2022 18:48:40 +0000 (20:48 +0200)
commit9426b20759d81673ccecf0de35d307878acdddcf
tree33bbd19fd0fd56d69737af1bc0044fc24509ea30
parentf97cff14541d0d24637a2971db1589e707baaedf
glcontext: Do not check for correctness in set_required_version

There are two reasons for this:
 * First, the refactored realize code now makes sure that no
   context with unsupported version is ever created.
 * Second, this code could bump into false possitives and negatives, since
   the user is not requested, nor expected to set_required_version
   in any specific order relative to set_allowed_apis. Therefore,
   some version could be rejected or accepted based on a set of
   allowed apis that the user has not yet correctly configured.
gdk/gdkglcontext.c